import './assets/main.css'
import 'animate.css'
import 'element-plus/theme-chalk/el-message.css'
import 'element-plus/theme-chalk/el-message-box.css'
import 'element-plus/theme-chalk/el-notification.css'
import 'element-plus/dist/index.css'

// import 'element-plus/theme-chalk/el-notification-box.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

//引入国际化配置
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

import App from './App.vue'
import router from './router'
import * as ElementPlushIcons from '@element-plus/icons-vue'

const app = createApp(App)
app.use(ElementPlus, {
  locale: zhCn,
})
for (const [key, component] of Object.entries(ElementPlushIcons)) {
  app.component(key, component)
}

app.use(createPinia())
app.use(router)


app.mount('#app')
